package com.fanxj.mapper;

import com.fanxj.domain.*;

import java.util.List;
public interface UserMapper {
     List<User> findAll();

     User findByUser(User user);

     void saveUser(User user);

     List<DecadeType>  findDecadeType();

     List<GroupType>  findGroupType();

     List<LocalType>  findLocalType();

     DecadeType findDecadeTypeByCode(String decadeTypeCode);

     GroupType findGroupTypeByCode(String groupTypeCode);

     LocalType findLocalTypeByCode(String localTypeCode);

     List<Relic> findRelic(Params params);

     void collectionRelic(CollectionRelic crelic);

     List<Relic> searchCollection(User user);

     void deleteCollection(DeleteCollection delCollection);

     List<Relic>  SearchCollectionRelic(SearchPersonRelics searchPerson);

     List<Relic>  Search(String searchValue);

     DecadeType findDecadeTypeByLabel(String decadeTypeLabel);

     GroupType findGroupTypeByLabel(String groupTypeLabel);

     LocalType findLocalTypeByLabel(String localTypeLabel);

     List<Relic> Recommend(Params params);

    CollectionRelic IsExitcollectionRelic(CollectionRelic crelic);

     void uploadHeadImage(Params params);

     void updatePassword(Params params);

}

